
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css">
	<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css">       
	<script src="http://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>
	<script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
        <title>Listado de Productos</title>
    </head>
    <body class="container">
        <%@include file="../../opciones.jsp"%>
        <h1>Listado de Productos</h1>
        <table class="table table-condensed table-bordered table-hover">
            <tr>
                <th>CODIGO PRODUCTO</th>
                <th>NOMBRE</th>
                <th>CODIGO CATEGORIA</th>
                <th>VALOR NETO</th>
                <th>STOCK MINIMO</th>
                <th>STOCK ACTUAL</th>
            </tr>
            <c:forEach var="fila" items="${lista}">
                <tr>
                    <td><c:out value="${fila.codProducto}" /></td>
                    <td><c:out value="${fila.nombre}" /></td>
                    <td><c:out value="${fila.valorNeto}" /></td>
                    <td><c:out value="${fila.codCategoria}" /></td>
                    <td><c:out value="${fila.stockMinimo}" /></td>
                    <td><c:out value="${fila.stockActual}" /></td>
                </tr>
            </c:forEach>
        </table>
    </body>
</html>